package com.wg.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wg.R;
import com.wg.entity.Depts;
import com.wg.mapper.DeptMapper;
import com.wg.service.DeptService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Depts> implements DeptService {

    @Override
    public R<List<Depts>> getDepts() {
        List<Depts> list = list();
        return R.ok(list);
    }
}
